package cn.Robbery.basic.service;

import cn.Robbery.basic.query.BaseQuery;
import cn.Robbery.basic.util.PageList;

import java.util.List;

public interface IBaseService<T> {

    void add(T t);

    void update(T t);

    void delete(Long id);

    T getById(long id);

    List<T> getAll();

    PageList<T> queryPage(BaseQuery Query);
    void patchDelete(List<Long> ids);
}
